home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
6-Developer Demos
/
Developer Demos-Ed.
/
Macintosh School® CD-ROM Demo
/
Macintosh SchoolÆ CD-ROM Demo
/
background_25390.txt
< prev
next >
Wrap
Text File
|
1990-08-14
|
1KB
|
48 lines
-- background: 25390 from stack: in
-- bmap block id: 31480
-- flags: 0000
-- background id: 0
-- name: School Setup
----- HyperTalk script -----
on openBackground
global interactiveDemo
installMenuBar 1160,1161,1162,1163,1164,1165
if interactiveDemo then
show card field "Instructions"
end if
put false into interactiveDemo
end openBackground
on doMenu menuItem
lock screen
if menuItem contains "About" then
restoreMenuBar
go to card short name of this background of background "About"
unlock screen with zoom close
else if menuItem is "Home" then
restoreMenuBar
go home
unlock screen
else if menuItem contains "Quit" then
restoreMenuBar false
go to card "Mac School® Shell"
unlock screen with zoom close
else if menuItem is "First" then
unlock screen
pass doMenu
else if menuItem is "Page Setup…" then -- do nothing
else
unlock screen
go card menuItem
--if the result is "No Such Card" then pass doMenu
end if
end doMenu
on flashButton name
set hilite of button name to true
wait 1
set hilite of button name to false
end flashButton